<?php
// +----------------------------------------------------------------------
// | ThinkCMF [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2017 http://www.thinkcmf.com All rights reserved.
// +----------------------------------------------------------------------
// | Author: Dean <zxxjjforever@163.com>
// +----------------------------------------------------------------------
// API 模板文件，可以复制
namespace api\resource\controller;

use think\Db;
use think\Request;
use think\Validate;
use cmf\controller\RestBaseController;

class Biao36Controller extends RestBaseController
{


    public function one($data)
    {

        //查 这个表的数据
        @$new_data = $data[0]['content'];
        if (empty($new_data)) {
            return '';
        }

       $html = '
       <div style="width: 650px;margin: 0 auto;">
            <div style="font-size: 16px;font-weight: 600;margin-bottom: 15px;">十四、项目主要验收指标</div>
            <table border="1" cellspacing="0px" cellpadding="5px" width="650">
                <tbody>
                <tr>
                    <td colspan="4" style="font-weight: 600">1. 主要技术指标</td>
                </tr>
                <tr>
                    <td colspan="4">'.@$new_data->text1.'</td>
                </tr>
                <tr>
                    <td colspan="4" style="font-weight: 600">2. 主要技术成果</td>
                </tr>
                <tr>
                    <td style="font-weight: 600">序号</td>
                    <td style="font-weight: 600" colspan="2">成果形式</td>
                    <td style="font-weight: 600">成果数量</td>
                </tr>
                <tr>
                    <td>1</td>
                    <td>新产品（或新材料、新装备、新品种/系）</td>
                    <td>'.@$new_data->text2.'</td>
                    <td>'.@$new_data->text3.'</td>
                </tr>
                <tr>
                    <td>2</td>
                    <td>新工艺（或新方法、新模式、新技术、新服务）</td>
                    <td>'.@$new_data->text4.'</td>
                    <td>'.@$new_data->text5.'</td>
                </tr>
                <tr>
                    <td rowspan="2">3</td>
                    <td rowspan="2">发明专利（件）</td>
                    <td>申　请</td>
                    <td>'.@$new_data->text6.'</td>
                </tr>
                <tr>
                    <td>授　权</td>
                    <td>'.@$new_data->text7.'</td>
                </tr>
                <tr>
                    <td rowspan="2">4</td>
                    <td rowspan="2">实用新型专利（件）</td>
                    <td>申　请</td>
                    <td>'.@$new_data->text8.'</td>
                </tr>
                <tr>
                    <td>授　权</td>
                    <td>'.@$new_data->text9.'</td>
                </tr>
                <tr>
                    <td rowspan="2">5</td>
                    <td rowspan="2">外观设计专利（件）</td>
                    <td>申　请</td>
                    <td>'.@$new_data->text10.'</td>
                </tr>
                <tr>
                    <td>授　权</td>
                    <td>'.@$new_data->text11.'</td>
                </tr>
                <tr>
                    <td rowspan="2">6</td>
                    <td rowspan="2">国外专利（件）</td>
                    <td>PCT受理</td>
                    <td>'.@$new_data->text12.'</td>
                </tr>
                <tr>
                    <td>授　权</td>
                    <td>'.@$new_data->text13.'</td>
                </tr>
                <tr>
                    <td rowspan="2">7</td>
                    <td rowspan="2">技术标准制定（个）</td>
                    <td>牵　头</td>
                    <td>'.@$new_data->text14.'</td>
                </tr>
                <tr>
                    <td>参　与</td>
                    <td>'.@$new_data->text15.'</td>
                </tr>
                <tr>
                    <td>8</td>
                    <td colspan="2">软件著作权（项）</td>
                    <td>'.@$new_data->text16.'</td>
                </tr>
                <tr>
                    <td rowspan="2">9</td>
                    <td rowspan="2">论文论著（篇）</td>
                    <td>SCI/ EI/ ISTP</td>
                    <td>'.@$new_data->text17.'</td>
                </tr>
                <tr>
                    <td>其他</td>
                    <td>'.@$new_data->text18.'</td>
                </tr>
                <tr>
                    <td rowspan="2">10</td>
                    <td rowspan="2">创新平台（载体）项目必填</td>
                    <td>技术服务数量（项）</td>
                    <td>'.@$new_data->text19.'</td>
                </tr>
                <tr>
                    <td>服务企业数量（家）</td>
                    <td>'.@$new_data->text20.'</td>
                </tr>
                <tr>
                    <td>11</td>
                    <td colspan="2">获得国家级奖项（项）</td>
                    <td>'.@$new_data->text21.'</td>
                </tr>
                <tr>
                    <td>12</td>
                    <td colspan="2">获得省级奖项（项）</td>
                    <td>'.@$new_data->text22.'</td>
                </tr>
                <tr>
                    <td>13</td>
                    <td colspan="2">科技人才奖励（人）</td>
                    <td>'.@$new_data->text23.'</td>
                </tr>
                <tr>
                    <td>14</td>
                    <td colspan="2">引进人才（人）</td>
                    <td>'.@$new_data->text24.'</td>
                </tr>
                <tr>
                    <td rowspan="2">15</td>
                    <td rowspan="2">培养人才（人）</td>
                    <td>博　士</td>
                    <td>'.@$new_data->text25.'</td>
                </tr>
                <tr>
                    <td>硕　士</td>
                    <td>'.@$new_data->text26.'</td>
                </tr>
                <tr>
                    <td colspan="4">其他成果及形式说明（创新特色、成果宣传推介措施等，限150字）：</td>
                </tr>
                <tr>
                    <td colspan="4">'.@$new_data->text27.'</td>
                </tr>
                <tr>
                    <td colspan="4" style="font-weight: 600">3. 主要经济指标及社会效益</td>
                </tr>
                <tr>
                    <td>序号</td>
                    <td>指标名称</td>
                    <td colspan="2">指标值</td>
                </tr>
                <tr>
                    <td>16</td>
                    <td>实施期内项目销售收入（万元）</td>
                    <td colspan="2">'.@$new_data->text28.'</td>
                </tr>
                <tr>
                    <td>17</td>
                    <td>实施期内项目利税（万元）</td>
                    <td colspan="2">'.@$new_data->text29.'</td>
                </tr>
                <tr>
                    <td>18</td>
                    <td>实施期内项目出口创汇（万美元）</td>
                    <td colspan="2">'.@$new_data->text30.'</td>
                </tr>
                <tr>
                    <td>19</td>
                    <td>实施期内项目新增就业人数（人）</td>
                    <td colspan="2">'.@$new_data->text31.'</td>
                </tr>
                <tr>
                    <td colspan="4">其他经济指标及社会效益说明（限150字）：</td>
                </tr>
                <tr>
                    <td colspan="4">'.@$new_data->text32.'</td>
                </tr>
                </tbody>
            </table>
        </div>
        ';

            return $html;

    }



}
